Asynchronous Transfer of Control in the Real-Time Specification for Java
نویسندگان
چکیده
The Real-Time Specification for Java provides a facility for Asynchronous Transfer of Control based on exception handling and a generalization of the interrupt() method from the Thread class. This mechanism allows the programming of useful idioms such as timeouts and thread termination without the latency found in polling, and it avoids the problems inherent in the Thread class’s stop() and destroy() methods.
منابع مشابه
A Comparison of the Mutual Exclusion Features in Ada and the Real-Time Specification for Java TM
A concurrent program generally comprises a collection of threads1 that interact cooperatively, either directly or through shared data objects. In the latter case the sharing needs to be implemented by some mechanism that ensures mutually exclusive access, or possibly “concurrent read / exclusive write”. Ada and the Real-Time Specification for Java have taken different approaches to mutual exclu...
متن کاملAsynchronous Event Handling and Real-time Threads in the Real-time Specification for Java
This paper discusses the role and implementation of asynchronous event handlers in the Real-time specification for Java (RTSJ). For non-blocking handlers, an implementation model whereby all heap-using handlers are serviced by a single thread and all no-heap handlers are serviced by another server thread is proposed and schedulability analysis is derived. The model is shown to have bounded prio...
متن کاملModel Checking Real Time Java Using Java PathFinder
The Real Time Specification for Java (RTSJ) is an augmentation of Java for real time applications of various degrees of hardness. The central features of RTSJ are real time threads; user defined schedulers; asynchronous events, handlers, and control transfers; a priority inheritance based default scheduler; non-heap memory areas such as immortal and scoped, and non-heap real time threads whose ...
متن کاملUsing Java PathFinder
The Real Time Specification for Java (RTSJ) is an augmentation of Java for real time applications of various degrees of hardness. The central features of RTSJ are real time threads; user defined schedulers; asynchronous events, handlers, and control transfers; a priority inheritance based default scheduler; non-heap memory areas such as immortal and scoped, and non-heap real time threads whose ...
متن کاملAn Event Service Framework for Distributed Real-Time Systems
Many distributed systems use events for asynchronous communication. Although the CORBA Event Service provides a flexible model for event-based communication among objects, further work is needed to support the important features required by real-time applications such as network management, avionics, etc. where timely delivery of events and more complex event correlation are desirable. In this ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2002